<include file="public@header"/>
</head>
<body style="background-color: #E5F3E6">
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li><a href="{:url('equipment/equipmentIndex')}">设备</a></li>
		<li><a href="{:url('equipment/equipmentAdd')}">添加设备</a></li></li>
        <li class="active"><a>编辑设备</a></li>
    </ul>
    <!--js-ajax-form-->
    <form class="form-horizontal  margin-top-20"
     action="{:url('equipment/equipmentEditPost')}" method="post">
        <div class="form-group">
            <label for="input-equipmentCode" class="col-sm-2 control-label">设备编号</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" id="input-equipmentCode" name="equipmentCode" value="{$data.equipmentCode}">
            </div>
        </div>
		<div class="form-group">
            <label for="input-equipmentName" class="col-sm-2 control-label">设备名称</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" id="input-equipmentName" name="equipmentName" value="{$data.equipmentName}">
            </div>
        </div>
		<div class="form-group">
            <label for="input-equimentType" class="col-sm-2 control-label">设备类别</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" id="input-equimentType" name="equimentType" value="{$data.equimentType}">
            </div>
        </div>
		<div class="form-group">
            <label for="input-equipmentPlace" class="col-sm-2 control-label">所在部位</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" id="input-equipmentPlace" name="equipmentPlace" value="{$data.equipmentPlace}">
            </div>
        </div>
		<div class="form-group">
            <label for="input-isSpecial" class="col-sm-2 control-label">是否特种设备</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" id="input-isSpecial" name="isSpecial" value="{$data.isSpecial}">
            </div>
        </div>
		<div class="form-group">
            <label for="input-departID" class="col-sm-2 control-label">所属部门</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" id="input-departID" name="departID" value="{$data.departID}">
            </div>
        </div>
		<div class="form-group">
            <label for="input-memos" class="col-sm-2 control-label">备注</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" id="input-memos" name="memos" value="{$data.memos}">
            </div>
        </div>
		


        <div class="form-group">
         	<div class="col-sm-offset-2 col-sm-10">
                <input type="hidden" name="equipmentID" value="{$data.equipmentID}"/>
                <button type="submit" class="btn btn-primary js-ajax-submit">{:lang('SAVE')}</button>
                <a class="btn btn-default" 
                href="{:url('admin/equipment/equipmentIndex')}">{:lang('BACK')}</a>
            </div>
        </div>
    </form>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>